/*******************************************************************************
 * Copyright (C) 2013 Jeremy Brodt and Kevin Gillespie
 * Description: Trip Queue
 *         $Id: tripq.h 27 2014-04-13 22:57:20Z brodtj1212@gmail.com $
 *******************************************************************************
 */

#ifndef _TRIP_Q_H_
#define _TRIP_Q_H_

#include "car.h"

typedef struct {
  op_mode_t mode;
  int heading;
  unsigned int speed[NUM_WHEELS];
  unsigned int direction[NUM_WHEELS];
  int distance[NUM_WHEELS];
  int wall[NUM_WHEELS];
} tripq_t;

extern const tripq_t tripq[];
extern const unsigned int tq_size;
extern int tq_index;

#endif /* _TRIP_Q_H_ */
